package org.sgx.gapi.client.client;

import org.sgx.jsutil.client.JsObject;
/**
 * @see http://code.google.com/p/google-api-javascript-client/wiki/RpcBatch
 * @author sg
 *
 */
public class RpcConfig extends JsObject{
protected RpcConfig(){}
/**
 * 
 * @return
 */
public native final String id() /*-{
return this["id"]; 
}-*/;

/**
 * 
 * @param val
 * @return this - for setter chaining
 */
public native final RpcConfig id(String val) /*-{
this["id"] = val; 
return this; 
}-*/;

/**
 * 
 * @return
 */
public native final GAPICallback callback() /*-{
return this["callback"]; 
}-*/;

/**
 * 
 * @param val
 * @return this - for setter chaining
 */
public native final RpcConfig callback(GAPICallback val) /*-{
this["callback"] = val; 
return this; 
}-*/;
}
